#ifndef methoddescriptor_h__
#define methoddescriptor_h__

#include <google/protobuf/message.h>
#include <google/protobuf/service.h>


class MethodDes
{
public:

	MethodDes() : descriptor(NULL), request(NULL), response(NULL) {}
	~MethodDes() = default;
	MethodDes(const google::protobuf::MethodDescriptor *descriptor,
		const google::protobuf::Message          *request,
		const google::protobuf::Message          *response)
		: descriptor(descriptor), request(request), response(response) {}


public:
	const google::protobuf::MethodDescriptor *descriptor;
	const google::protobuf::Message          *request;
	const google::protobuf::Message          *response;

};
#endif // methoddescriptor_h__

